package com.by.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @version 1.0
 * @Author 彭彦彬
 * @Date 2025/4/11 9:54
 * @注释
 */
@TableName("order_detail")
@Data
public class OrderDetail {
    @TableId(value = "detail_id",type = IdType.AUTO)
    private Integer detailId;
    private Integer orderId;
    private Integer productId;
    private Integer quantity;
    private Double price;
}
